#include<stdio.h>
int main()
{
	int arr[] = { -1,-2,-3,-4,-5,-6,-7,-8,-9,-10 };
	int max = 0, i = 0;
	int sz = 0;
	sz = sizeof(arr) / sizeof(arr[0]);
	for (i = 2; i <= sz; i++)
	{
		if (arr[max] < arr[i])
		{
			max = i;
		}
		else
		{
			printf("%d", arr[max]);
			break;
		}

	}return 0;

}
